import { Module } from '@nestjs/common';
import { ConfigService } from './config.service';
import { ConfigPublicController } from './config-public.controller';
import { ConfigUserController } from './config-user.controller';
import { ConfigAdminController } from './config-admin.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Config } from '../../entities/config.entity';

@Module({
  imports: [TypeOrmModule.forFeature([Config])],
  controllers: [

    ConfigUserController,
    ConfigAdminController,
    ConfigPublicController
  ],
  providers: [ConfigService],
  exports: [ConfigService],
})
export class ConfigModule {}
